package code.jzh.monitor.entity.methodinvoke;

public class Anchor {
	int depth;
	long time;
	int pos;
	String methodName;
	
	public Anchor(int depth, long time, int pos, String methodName) {
		this.depth = depth;
		this.time = time;
		this.pos = pos;
		this.methodName = methodName;
	}
	
	public int getDepth() {
		return depth;
	}
	public void setDepth(int depth) {
		this.depth = depth;
	}
	public long getTime() {
		return time;
	}
	public void setTime(long time) {
		this.time = time;
	}
	public int getPos() {
		return pos;
	}
	public void setPos(int pos) {
		this.pos = pos;
	}
	
	public String getMethodName() {
		return methodName;
	}

	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}

	public String toString(){
		return "depth:"+depth+"-time:"+time+"-pos:"+pos+"-method:"+methodName;
	}
	
}
